﻿@model dsacbasic.Models.PasswordViewModel
@using (Html.BeginForm())
{
    <fieldset style="width: 500px; margin: 100px auto;">
        <legend>修改密码</legend>
        <label for="username">
            原密码</label>
        <div class="div_text">
            <div class="input-prepend">
                <span class="add-on"><i class="icon-lock"></i></span>
                @Html.PasswordFor(x => x.OldPassword)
            </div>
        </div>
        <label for="password">
            新密码</label>
        <div class="div_text">
            <div class="input-prepend">
                <span class="add-on"><i class="icon-lock"></i></span>
                @Html.PasswordFor(x => x.Password)
            </div>
        </div>
        <label for="password">
            确定新密码</label>
        <div class="div_text">
            <div class="input-prepend">
                <span class="add-on"><i class="icon-lock"></i></span>
                @Html.PasswordFor(x => x.Password2)
            </div>
        </div>
        @Html.ValidationSummary()
        @Html.Partial("MessageTip")
        <div class="button_div" style="padding-left: 120px;">
            <input type="submit" value="确定" class="btn btn-primary" />
        </div>
        <div class="clear">
        </div>
    </fieldset>
}
